<%@ page language="java" import="java.util.*, front.net.entity.cookie.*"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>登录</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="css/common.css" />
<style type="text/css">
#regist {
	float: right;
	margin: -100px 0;
}
</style>
<script type="text/javascript">
	function regist() {
		window.location.href = "/PkiSys/register.jsp";
	}
</script>
<link rel="stylesheet" type="text/css" href="css/form.css" />
</head>
<body>
	<button onclick="regist()" id="regist">注册</button>
	<div id="style" class="form">
		<s:form name="loginform" method="post" action="login" namespace="/ra">
			<h1>登录</h1>
			<p>请输入信息以登录</p>
			<label>用户名 <span class="small">请输入你的用户名</span> </label>
			<input required type="text" name="username" id="name" />
			<label>密码 <span class="small">请输入你的密码</span> </label>
			<input required type="password" name="password" id="password" />
			<input type="submit" value="登录" class="button"/>
			<div class="spacer"></div>
		</s:form>
	</div>
</body>
</html>
